<div class="modal-header" id="scope">
	<h3 class="modal-title" ng-if="param.type == 'insert'">新增</h3>
	<h3 class="modal-title" ng-if="param.type == 'update'">修改</h3>
</div>
<div class="modal-body">
	<form name="myForm" class="form-horizontal form-validation">
		<div class="panel panel-default">
			<div class="panel-body">
				<div class="form-group" ng-show="param.type == 'insert'">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>保险单号：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="单号" ng-model="number" />
					</div>
					<p>必填。</p>
				</div>
				<div class="form-group" ng-controller="DatepickerDemoCtrl" ng-show="param.type == 'insert'">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>有效期：</label>
					<div class="col-sm-5">
						<div class="input-group">
							<input type="text" class="form-control" datepicker-popup="{{format}}" is-open="opened" ng-model="timeRange.startTime" datepicker-options="dateOptions"
								close-text="Close" placeholder="有效期" readOnly /> <span class="input-group-btn">
							<button type="button" class="btn btn-default"
								ng-click="open($event)">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
						</span>
						</div>
					</div>
					<p>保险到期时间。</p>
				</div>
				<div class="form-group" ng-show="param.type == 'insert'">
					<label class="col-sm-3 control-label"></span>备注：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="备注" ng-model="remark" />
					</div>
					<p>选填。</p>
				</div>

				<div class="form-group" ng-show="param.type == 'update'">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>保险单号：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="单号" ng-model="param.data.number" />
					</div>
					<p>必填。</p>
				</div>
				<div class="form-group" ng-controller="DatepickerDemoCtrl" ng-show="param.type == 'update'">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>有效期：</label>
					<div class="col-sm-5">
						<div class="input-group">
							<input type="text" class="form-control" datepicker-popup="{{format}}" is-open="opened" ng-model="timeRange.endTime" datepicker-options="dateOptions"
								close-text="Close" placeholder="有效期" readOnly /> <span class="input-group-btn">
							<button type="button" class="btn btn-default"
								ng-click="open($event)">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
						</span>
						</div>
					</div>
					<p>保险到期时间。</p>
				</div>
				<div class="form-group" ng-show="param.type == 'update'">
					<label class="col-sm-3 control-label"></span>备注：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="备注" ng-model="param.data.remark" />
					</div>
					<p>选填。</p>
				</div>
			</div>
			<footer class="panel-footer text-right bg-light lter">
				<button class="btn btn-default" type="button" ng-click="cancel()">取消</button>
				<button type="submit" class="btn btn-success" ng-click="ok()">提交</button>
			</footer>
		</div>
	</form>
</div>